package com.bocai.kelalacar.ui.car.order.contract;

import com.bocai.kelalacar.base.BaseView;
import com.bocai.kelalacar.bean.CarDriverBean;
import com.bocai.kelalacar.bean.MyGradOrderBean;
import com.bocai.kelalacar.bean.MyPublishStrokeBean;
import com.bocai.kelalacar.bean.OrderDetailBean;

/**
 * Created by yuanfei on 2017/7/5.
 */

public interface MyOrderContract {

    interface view extends BaseView {

        void myStrokePublish(MyPublishStrokeBean bean);

        void myGradOrder(MyGradOrderBean bean);

        void getOrderDetail(OrderDetailBean bean);

        void getCarDriverList(CarDriverBean bean);

        void teamArrangeSuccess();

        void startStrokeSuccess();

        void cancelOrderSuccess();

        void finishOrderSuccess();

    }
    abstract static class presenter  {


        public abstract void myStrokePublish(String pageIndex,String pageSize);

        public abstract void myGrabOrder(String pageIndex,String pageSize);

        public abstract void orderDetail(String orderId);

        public abstract void getCarDriverList(String memberId);

        public abstract void teamArrange(String orderId,String carId,String driverId);

        public abstract void startStroke(String orderId);

        public abstract void cancelOrder(String orderId);

        public abstract void finishOrder(String orderId);

    }

}
